package com.wst.system.server.service;

import com.wst.system.server.entity.SysOpenToken;
import com.wst.business.entity.vo.SysOpenTokenVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.system.config.exception.GlobalExcetion;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2025-02-10
 */
public interface SysOpenTokenService extends IService<SysOpenToken> {

    public SysOpenToken saveSysOpenToken(SysOpenToken sysopentoken) throws GlobalExcetion;

    public SysOpenToken updateSysOpenTokenById(SysOpenToken sysopentoken) throws GlobalExcetion;

    public IPage<SysOpenToken> page(Integer page,Integer pageSize) throws GlobalExcetion;

    public SysOpenToken getSysOpenTokenByToken(String token) throws GlobalExcetion;

}